﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Data.Mappers
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T1">Entity</typeparam>
    /// <typeparam name="T2">ModelDatabase</typeparam>
    public interface IMapper<T1, T2>
    {
        T1 WrapperData(T2 obj);
        List<T1> WrapperData(List<T2> obj);

        T2 WrapperEntity(T1 obj);
        List<T2> WrapperEntity(List<T1> obj);
    }
}
